package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.dto.SkuDTO;
import com.zb.entity.TbSkuModel;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;


/**
 * @ClassName TbSkuMapper
 * @Description 商品表mapper接口
 * @Author xm
 * @Date 2024/11/06 14:27
 **/

@Mapper
public interface TbSkuMapper extends BaseMapper<TbSkuModel> {
    /*@Insert("insert into  tb_sku (id,sn,`name`,price,num,alert_num,image,images,weight,create_time,update_time,spu_id,category_id,category_name,brand_name,spec,sale_num,comment_num,`status`,version)" +
            "values(#{id},#{sn},#{name},#{price},#{num},#{alertNum},#{image},#{images},#{weight},#{createTime},#{updateTime},#{spuId},#{categoryId},#{categoryName},#{brandName},#{spec},#{saleNum},#{commentNum}" +
            ",#{status},#{version})")
    Boolean add(SkuDTO skuDTO);*/
}
